package com.data4.user.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.data4.feignapi.dto.PhonePwdLoginDTO;
import com.data4.feignapi.dto.Result;
import com.data4.feignapi.dto.UserDTO;
import com.data4.feignapi.entity.DUser;
import jakarta.servlet.http.HttpServletResponse;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Forever
 * @since 2024-12-11
 */
public interface DUserService extends IService<DUser> {

    Result register(UserDTO userDTO);

    Result login(PhonePwdLoginDTO pwdLoginDTO);

    Result getUserInfoById(Integer userId);
}
